package com.wenli.lt.Aspect;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class Test {
//    @Autowired
//    TestBean testBean;

    @org.junit.Test
    public void main() {
//        testBean.foo();
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(config.class);
        BoyBuy buy = context.getBean(BoyBuy.class);
        GirlBuy girl = context.getBean(GirlBuy.class);
        girl.Play("around info");
    }
}
